<div class="header">
    <back-Btn></back-Btn>
    {{mytasklist.title}}
</div>
<div class="tasklist mt10" style="bottom:50px">
    <ul class="task-list lh25 pd20">
        <li ng-repeat="item in mytasklist.datalist" class="flex" ng-class="{'pink': item.priority==3,'yellow' : item.priority==2,'gray' : item.priority==1}" ng-click="mytasklist.goDetail(item,1)">
            <div class="w25 tc">
                <div class="user-pic">
                    <div class="item-avtar tc lh50">{{item.userName| username}}</div> 
                </div>
            </div>
            <div class="w75">
                <div class="list-item-tip" ng-if="item.expireStatus!=3||item.status==3">
                    <p>{{item.title}}</p>
                    <p>{{item.createDate}}<span class="list-item-remain fr" ng-if="item.finishedSubtaskCount+item.unfinishedSubtaskCount!=0"><span class="c-succ">{{item.finishedSubtaskCount}}</span>/{{item.finishedSubtaskCount+item.unfinishedSubtaskCount}}</span>
                    </p>
                </div>
                <div class="list-item-label lh55" ng-if="item.expireStatus==3&&item.status!=3">
                    这条任务已经逾期了<span class="list-item-remain fr" ng-if="item.finishedSubtaskCount+item.unfinishedSubtaskCount!=0"><span class="c-succ">{{item.finishedSubtaskCount}}</span>/{{item.finishedSubtaskCount+item.unfinishedSubtaskCount}}</span>
                </div>
            </div>
        </li>
    </ul>
</div>
<div class="showpage tc">
    <div class="firstpage" ng-click="mytasklist.firstpage()" ng-show="mytasklist.pageOpt.curpage!=1"></div>
    <div class="prevpage" ng-click="mytasklist.prevpage()" ng-show="mytasklist.pageOpt.curpage!=1"></div> 
    <span class="fs18">第{{mytasklist.pageOpt.curpage}}页</span>
    <div class="nextpage" ng-click="mytasklist.nextpage()" ng-show="mytasklist.shownext"></div>
</div>
